package com.cug.nageoffer.service;

import com.cug.nageoffer.model.entity.ChatUser;
import com.cug.nageoffer.model.vo.ChatUserVo;
import com.cug.nageoffer.model.vo.UserMsgVo;
import jakarta.servlet.http.HttpSession;

import java.util.List;

public interface ChatUserService {
    void init(HttpSession session);


    List<UserMsgVo> getHistoryByUsername(String username, String senderUsername);


    void saveHistoryMsg(UserMsgVo userMsgVo);

    List<ChatUserVo> getChatListByUsername(String username);

    void saveChatList(ChatUser chatUser);

}
